package com.zzr.demo.redis.service;

import com.zzr.demo.redis.model.Person;

/**
 * @author: xiaomi
 * @date: 2021/10/7
 * @description:
 */
public interface CacheService<T> {

    T get(String keyName);

    void set(T model);

    boolean update(String key, T model);
}
